<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>第一个vue程序</title>
    <script src="js/vue.js"></script>
</head>

<body>
    <div id="app">
        {{name}}
        {{name1}}
        {{2+4}}
        {{1+1+1}}
    </div>
</body>

</html>
<script>
    var vm = new Vue({
        el: '#app',
        data: {
            name:'Giles',
            name1:'Giles1'
        }
    });
</script>